/**
 * com.cnhis.his.customer.mapper.Abb1.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Abb1.java
 * @author 刘武
 * @version 0.1
 * @todo	Abb1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-11-03 10:19:22
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Abb1 extends BaseVO implements java.io.Serializable{

	private java.lang.String abb01;
	private java.lang.String abb02;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	private java.lang.Integer rownr;
	private java.lang.String abw01;
	public Abb1(){
	}

	public Abb1(
		java.lang.String abb01
	){
		this.abb01 = abb01;
	}



	public void setAbb01(java.lang.String value) {
		this.abb01 = value;
	}	
	public java.lang.String getAbb01() {
		return this.abb01;
	}

	public void setAbb02(java.lang.String value) {
		this.abb02 = value;
	}	
	public java.lang.String getAbb02() {
		return this.abb02;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}

	public void setRownr(java.lang.Integer value) {
		this.rownr = value;
	}	
	public java.lang.Integer getRownr() {
		return this.rownr;
	}

	public void setAbw01(java.lang.String value) {
		this.abw01 = value;
	}	
	public java.lang.String getAbw01() {
		return this.abw01;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Abb01").append("='").append(getAbb01()).append("' ");	
			   buffer.append("Abb02").append("='").append(getAbb02()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
			   buffer.append("Rownr").append("='").append(getRownr()).append("' ");	
			   buffer.append("Abw01").append("='").append(getAbw01()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Abb1) ) return false;
		 Abb1  castOther = ( Abb1) other;  
		 return 
					( (this.getAbb01()==castOther.getAbb01()) ||( this.getAbb01()!=null && castOther.getAbb01()!=null && this.getAbb01().equals(castOther.getAbb01()) ) )
					&&( (this.getAbb02()==castOther.getAbb02()) ||( this.getAbb02()!=null && castOther.getAbb02()!=null && this.getAbb02().equals(castOther.getAbb02()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
					&&( (this.getRownr()==castOther.getRownr()) ||( this.getRownr()!=null && castOther.getRownr()!=null && this.getRownr().equals(castOther.getRownr()) ) )
					&&( (this.getAbw01()==castOther.getAbw01()) ||( this.getAbw01()!=null && castOther.getAbw01()!=null && this.getAbw01().equals(castOther.getAbw01()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getAbb01() == null ? 0 : this.getAbb01().hashCode() );
				  result = 37 * result + (getAbb02() == null ? 0 : this.getAbb02().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
				  result = 37 * result + (getRownr() == null ? 0 : this.getRownr().hashCode() );
				  result = 37 * result + (getAbw01() == null ? 0 : this.getAbw01().hashCode() );
         return result;
	} 
	
}
